package com.leizi.igym.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * @Author: leizi0110
 * @CreateTime: 2024-04-07  11:55
 * @Description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = -5107732267238863918L;
    // 课程id
    private Long id;

    // 教练id
    private Long trainerId;

    // 分类id
    private Long categoryId;

    // 课程名
    private String courseName;

    // 课程封面
    private String cover;

    // 课程描述
    private String descrip;

    // 课程价格
    private BigDecimal price;

    // 课程总课时
    private Integer lessonNum;

}
